//
//  cP Account Creator Version 0.4 Beta Build 01
//  Copyright (C) 2004 Brian Freeman
//  All Rights Reserved.
//
//  This script set is distributed as is with absolutely no warranty.
//  Users of this script set agree to use at their own risk.
//  Questions or comments?  Contact webmaster@freemans-web.com
//
//


General MODs:

To use:
1.  Go to your scripts root directory.  i.e. /home/user/public_html/addpop/ and create the directroy mods.
2.  Unzip the files and place them in the appropriate directory in your site.  These files completely replace the originals with the same name.
3.  Some Mods may require defining variables in the file located in the mods directory.  These are well commented for your convenience.





Password Protected Directory Creation MOD:

To use:
1.  Go to your scripts root directory.  i.e. /home/user/public_html/addpop/ and create the directroy mods.
2.  Edit the add_email.php and admin/approve.php (If your version is recent it may already be included, and just
    require uncommenting).
    Find this:
         //  Add Mods below this line.

         //  End of Mods

             Add this:
         //  Include creation of password protected directory.  Uncomment to activate.
         include("../mods/addpwpromod.php");
         //  End.



3.  Unzip the files and place them in the appropriate directory in your site.  These files completely replace the originals with the same name.
4.  Define the variables in the addpwpromod.php file.
5.  FTP creation must be set to 1 in the Settings area.
6.  If you've modified the directory settings for sub-domain or FTP user creation, ensure that the directory variables in the addpwpromod.php correspond.

Note:  The admin area will not delete the password protected user or directory during account deletion.  Currently the admin must deleted the user directory manually whether it's password protected or not.  Once the users main directory is deleted, the .htaccess file that points to the .htpasswd file for user authentication will be deleted.  While the .htpasswd file will still exists in the admins home/username/.htpasswd directory authentication will not be possible for the deleted user in any password protected area without someone changing the .htaccess for that specific directory.  Therefore, the /home/username/.htpasswd files for deleted users should be deleted manually, but it is not necessary to do this immediately.  

Easy enough? 